using System;
using System.Collections.Generic;
using System.Text;

namespace Fieldbook.Entities
{
    public class Operation
    {
        private long? operationID;
        private long categoryID;
        private string description;
        private long? houseHoldID;
        private OperationType operationTypeID;

        public long? OperationID
        {
            get { return operationID; }
            set { operationID = value; }
        }

        public long CategoryID
        {
            get { return categoryID; }
            set { categoryID = value; }
        }

        public string Description
        {
            get { return description; }
            set { description = value; }
        }

        public long? HouseHoldID
        {
            get { return houseHoldID; }
            set { houseHoldID = value; }
        }

        public OperationType OperationTypeID
        {
            get { return operationTypeID; }
            set { operationTypeID = value; }
        }

        public enum OperationType : byte
        {
            RequestedService,
            ProvidedServie
        }
    }
}
